package com.ruoyi.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 第三方医废处置公司详细信息管理对象 yf_medical_waste_treatment_manager
 *
 * @author XiaoYi...
 * @date 2020-08-14
 * c706082b-5f81-4c5e-b7ff-35b12b01521b
 */
public class YfMedicalWasteTreatmentManager extends BaseEntity {
    private static final long serialVersionUID = 1L;

    public YfMedicalWasteTreatmentManager(String status) {
        this.status = status;
    }

    public YfMedicalWasteTreatmentManager() {
    }

    /**
     * 自增id
     */
    private Long id;

    /**
     * 公司唯一编号
     */
    @Excel(name = "公司唯一编号")
    private String no;

    /**
     * 公司名称
     */
    @Excel(name = "公司名称")
    private String name;

    /**
     * 联系地址
     */
    @Excel(name = "联系地址")
    private String site;

    /**
     * 主要负责人
     */
    @Excel(name = "主要负责人")
    private String principalHead;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String tel;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getNo() {
        return no;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public String getSite() {
        return site;
    }

    public void setPrincipalHead(String principalHead) {
        this.principalHead = principalHead;
    }

    public String getPrincipalHead() {
        return principalHead;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTel() {
        return tel;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("no", getNo())
                .append("name", getName())
                .append("site", getSite())
                .append("principalHead", getPrincipalHead())
                .append("tel", getTel())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
